function out=equalizer(yk, hk, N)
    length = size(yk, 2);
    symbols = length / N;
    out = zeros(size(yk));
    for i=0:symbols-1
        out(i*N+1:i*N+N) = yk(i*N+1:i*N+N) .* (1./hk);
    end
end